import axios from '@/utils/request';

export function getSingleCarouselList(params) {
    return axios.post({
        url: '/school/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function getSingleCarouselListAll(params) {
    return axios.post({
        url: '/school/listAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSingleCarousel(params) {
    return axios.post({
        url: '/school/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSingleCarousel(params) {
    return axios.post({
        url: '/school/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSingleCarousel(params) {
    return axios.post({
        url: '/school/load',
        data: params
    }).then((res) => {
        return res
    })
}

